package com.sise.rsc.repository;


import com.sise.rsc.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;

public interface RoleRepository extends JpaRepository<Role,Long> {

    Role findRoleById(int id);
    Role findRoleByAuthority(String authority);
}
